import 'package:flutter/material.dart';

class Page1 extends StatelessWidget {
  const Page1({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(
          "可回收垃圾详情",
        ),
        centerTitle: true,
        elevation: 5.0,
      ),
      body: Center(
          child: Container(
        // color: const Color(0xffb6ad90),
        height: 550,
        width: 400,
        decoration: BoxDecoration(
          border: Border.all(
            width: 4.0,
            color: const Color(0xff936639),
          ),
          borderRadius: BorderRadius.circular(20.0),
        ),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Container(
              // width: 400,
              // decoration: BoxDecoration(
              //   border: Border(
              //     top: BorderSide(
              //       width: 4.0,
              //       color: const Color(0xff936639),
              //     ),
              //   ),
              // ),
              alignment: Alignment.center,
              child: Text(
                "可回收垃圾",
                style: TextStyle(
                  color: const Color(0xff582f0e),
                  fontWeight: FontWeight.w800,
                  fontSize: 35,
                ),
              ),
            ),
            SizedBox(height: 12),
            Container(
              width: 380,
              decoration: BoxDecoration(
                border: Border(
                  top: BorderSide(
                    width: 4.0,
                    color: const Color(0xff936639),
                  ),
                ),
              ),
              alignment: Alignment.center,
              child: Text(
                "可回收物指适宜回收利用和资源化利用的生活废弃物",
                style: TextStyle(
                  color: const Color(0xff582f0e),
                  fontWeight: FontWeight.w800,
                  fontSize: 20,
                ),
              ),
            ),
            SizedBox(height: 5),
            Container(
              width: 380,
              decoration: BoxDecoration(
                border: Border(
                  top: BorderSide(
                    width: 4.0,
                    color: const Color(0xff936639),
                  ),
                ),
              ),
              alignment: Alignment.center,
              child: Text(
                '''主要包括
废纸、塑料、玻璃、金属和纺织物
五大类生活垃圾，
有害垃圾、电子/电器垃圾和电池
三类特殊危害垃圾，
以及废弃家具类垃圾''',
                style: TextStyle(
                  color: const Color(0xff582f0e),
                  fontWeight: FontWeight.w600,
                  // fontStyle: FontStyle.italic,
                  fontSize: 24,
                ),
                textAlign: TextAlign.center,
              ),
            ),
            SizedBox(height: 15),
            Container(
              width: 380,
              decoration: BoxDecoration(
                border: Border(
                  top: BorderSide(
                    width: 4.0,
                    color: const Color(0xff936639),
                  ),
                ),
              ),
              alignment: Alignment.topLeft,
              child: Text(
                '''
可回收物主要品种包括：
废纸、废弃塑料瓶、废金属、废包装物、废旧纺织物、废弃电器电子产品、废玻璃、废纸塑铝复合包装等''',
                style: TextStyle(
                  color: const Color(0xff582f0e),
                  fontWeight: FontWeight.w600,
                  fontSize: 18,
                ),
                textAlign: TextAlign.center,
              ),
            ),
          ],
        ),
      )),
    );
  }
}
